const layout = () => import("@/views/layout")
export default [
  {
    name: 'HelloWorld',
    component: () => import("@/components/HelloWorld"),
    path: '/HelloWorld'
  },
  {
    path: '/',
    name: 'layout',
    component: layout,
    redirect: '/holiday'
  },
  {
    path: '/holiday',
    name: 'holiday',
    component: layout,
    redirect: '/holiday/test',
    children: [
      {
        name: 'test',
        component: () => import("@/views/test"),
        path: 'test'
      },
      {
        name: 'test2',
        component: () => import("@/views/test2"),
        path: 'test2'
      },
      {
        name: 'setkaoqinzu',
        component: () => import("@/views/setkaoqinzu"),
        path: 'setkaoqinzu'
      },
      {
        name: 'gaodeMap',
        component: () => import("@/views/gaodeMap"),
        path: 'gaodeMap'
      },
      {
        name: 'newHoliday',
        component: () => import("@/views/newHoliday"),
        path: 'newHoliday'
      },
      {
        name: 'list',
        component: () => import("@/views/list"),
        path: 'list'
      },
    ]
  },
]